package com.nuaa.service.transfer.inter;

import java.util.Map;

import com.nuaa.domain.transfer.TransSupEntity;
import com.nuaa.domain.transfer.TransferEntity;
import com.nuaa.formmodel.ChanHandForm;
import com.nuaa.formmodel.TransHandForm;
import com.nuaa.utils.AjaxMsg;
import com.nuaa.utils.DataGrid;
import com.nuaa.utils.PageInfo;

public interface TransferServiceInter {
	public AjaxMsg saveTansferOrder(TransferEntity entity);

	public DataGrid<Map<String, Object>> getTransferOrders(PageInfo pager,String customer_no,String orderNo,String tmFrom,String tmTo);

	/**
	 * 根据id查询TransferEntity
	 * @param id
	 * @return
	 */
	public TransferEntity getById(int id);

	/**
	 * 更新TransferEntity
	 * @param transfer
	 */
	public void update(TransferEntity transfer);

	/**
	 * 获取未审核订单
	 * @param pager
	 * @return
	 */
	public DataGrid<Map<String, Object>> getTransferUncheck(PageInfo pager);
	/**
	 * 提交补充材料
	 * @param entity
	 * @return
	 */
	public AjaxMsg subSup(TransSupEntity entity);
	/**
	 * 根据订单号获取订单详情
	 */
	public TransferEntity getByOrderNo(String order_no);
	/**
	 * 获取补充文档信息
	 * @param order_no
	 * @return
	 */
	public TransSupEntity getSupByOrderNo(String order_no);
	
	public void delFileByName(String fileName);
	
	public AjaxMsg saveHand(String id, TransHandForm form);

	public AjaxMsg saveModOrder(TransferEntity entity);

	public DataGrid<Map<String, Object>> getWaitTransferOrders(PageInfo pager, String customer_no, String orderNo,
			String tmFrom, String tmTo);
	
	public DataGrid<Map<String, Object>> getProceTransferOrders(PageInfo pager, String customer_no, String orderNo,
			String tmFrom, String tmTo);
	
	public DataGrid<Map<String, Object>> getFinishTransferOrders(PageInfo pager, String customer_no, String orderNo,
			String tmFrom, String tmTo);
}
